#include<iostream>
#include<stdio.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<unistd.h>
#include<sstream>
#include<string>


using namespace std;

int main(int argc,char **argv){

   char  str[] = "25,5,66,33,7,88";
   string num;
   stringstream stream(str);
   while(getline(stream,num,',')){
    cout<<"split is: "<<num<<endl;
    
   }




   return 0;
}